Added error handling to the cube
Merge pull request #3 from CodeCarefully/master

Added error handling to the cube printer @CodeCarefully should be happy now