Adding a few java puzzles