Added New IR Following Code

This is a version of the IR Code that implements static variables
Added Newest Version of Tape Following and IR Following

The tape and Ir following code do not have to be wrapped in a while loop
since they now have static variables integrated.