Catching library exceptions in interpreter
Converted tabs into spaces
Corrected variables naming convention