Add gitignore
Updated gitignore
Improved simulation algorithm