Simple maze game with java