Basically, I am trying to mark a specific line to be my \'checkpoint\', so that everytime my condition is satisfied, the program will go back to that checkpoint and read lin