Draws 2D shapes! (Assuming p and q are relatively prime)