title: How would i turn this function into a class?
body: <p>I want to turn this code into a class where I can make other rectangles using the same class but just switching things around.</p>
  
  <pre><code>def appBox(win1):
      appBox=Rectangle(Point(4,15), Point(11,13))
      appBox.setOutline("darkorange2")
      appBox.setFill("white")
      appLabel=Text(Point(7.5,14),"Beats By Cuse")
      appLabel.setSize(35)
      appLabel.setFace("courier")
      appLabel.setStyle("bold italic")
      appLabel.setFill("darkorange2")
      appBox.draw(win1)
      appLabel.draw(win1)
      return appBox, appLabel
  </code></pre>