Add cmdloop line for optional keyboard interaction, fix syntax error, add example commands.txt

The interp.cmdloop() line waits for user input in a continual loop after
the commands in the text file have been run.

The commands.txt file contains a sample run of connecting to a printer
and moving the printer head.