java maze explorer modify