A maze game in Java