Magical Java Puzzle Solution
http://zeroturnaround.com/fun/magical-java-puzzle-pat-the-unicorns/