solutions to some puzzles I found