Attempting to add support for I/O in the WHILE language (doesn't work very well yet)