gitignore and a snippet for function in shell

I added the gitignore file and a snippet for function in shell scripting.
Done