removes PSeq references
now solves multiple puzzles. one per line of input