Solves the problem, but not correct :(

Does not solve count to inf problem. Does some sort of poison reverse