added dotfiles to gitignore
read/write and functions and test working