add a gitignore file
add plot functions