cleaned up reading in data to be more concise; added a .gitignore file