Solution to Java Magical Puzzle