Removed a stray .pyc file.
Updated the gitignore file to ignore unwanted file extensions in all directories.