Random bits of Python solving puzzles and algorithm like problems