Modify .gitignore file

Better way of ignoring directories