Solutions to fun programming puzzles.