Creating Custom Exceptions Python