small changes to the code
updated .gitignore file to avoid to commit/push unwanted files