add method to check if position is exit
Add test for maze game