updated exception examples, removed unused class fields added exception type. also added .gitignore to ignore the __pycache__ directory that IDLE creates