add *.swp to gitignore for vim users.
Introduce a unit test for the scene class.

Provide unit test for the locate method.
Fix locating objects in a scene.