rotate abstract method

Shape rotate(
  1. double deg
)

Rotate the shape by deg degrees

Implementation

Shape rotate(double deg);