Added .gitignore to ignore *.swp files.
Half methods implemented rawly tested.