adds vim swap file to gitignore
init block and unit test