Initialised tape for input, still issues with printing correct 1s and ^s in subsequent calls