updated gitignore and added .gitignore in figures to keep the directory in the repository.