fixed memory popping issues with return, fixed while loop (other loops to be done)
loop issues now fixed