Mazemaster refactoring

Prints error messages instead of throwing exceptions. Added sample maze.