Java maze solver and other methods for my students to practice