adds the gitignore file
adds the funtion doc to the script