as soon as i fixed everything else i will delete the junk codes and dem
At least remove lines 224 to 233. If execution makes it to that 'while' loop, it will run forever (an infinite loop) as the value of 'wrongcount' is not incremented within that loop.