Implemented cubes rendering;