Generates an n x n rubiks cube in html 5 using three.js. Inspired by the game at http://hi-games.net/cube/