How To Code A Puzzle