added more tests for Maze object and added the isIllegal class