My take on the challenges proposed by http://yosethegame.com in Java