Whoops, ack should start off false.
Fixed typo in program.