Implement rotation in GameObject #3

Closes issue #3.