Adding rotate
Generation script.
Starting refactor for Exam 4.