add .gitignore file
pascal triangle function optimization