Added a setup.py script and updated the .gitignore file to ignore .egg-info directories (which setup.py creates.