recognises the end of the maze
Merge branch 'master' into end_class

Conflicts:
	app/views/MazeView.js
Merge pull request #17 from boredsteve/end_class

recognises the end of the maze