I fixed the adder in the while loop. This has generated what seems to be an infinite loop.