A few minor improvements.

Removed rotate() function. Its functionality is implemented in update()
Destructor now deletes cubies
The cube is now scriptable.