Added gitignore and removed junk files

Log and pyc files are just junk that clog up the repository, so I removed and ignored them.