added git ignore file and cleaned up a lot of PEP warnings