Beginning of cube collision

It needs to be edited so that the collision checker between cubes can
return other sides than front and back. There is also a lot of
redundance in the code, the collision check should probably be moved to
MovingShape.