saving progress in code puzzle