savepoint
works with testCoords.txt, crashes with example-input-1.txt.