The < character now acts as a backspace.

-Changed the if statement in enter char because it works better.