Added gitignore, small update to code
removed swap file