Added working script and .gitignore
Actually added .gitignore this time