Java Programm to solve a riddle