code for various puzzles / online compititions