Creating Custom Exceptions Python Interpreter