Update interpreter.py

Created a class called BackupCreator, which has a single instance in the Visitor class that is used to save the commands input into the interpreter for future use.