Completed Exercise 5.1 Rotating Triangle

Updated update() to change orientation

Updasted render code to use orientation for the object using OpenGL's
tranformation matrix.