Trying to solve code puzzles from different places. Can be done better way, really?