Updated rubiks.g description and cleaned up code.