Added new functions to clear the temp vars and output string

It will now loop, but it asks for input each time and clears everything before loading it all again. Helpful if we want to test more than one operation and a good step towards looping through more than one instruction in a row.