Added gitignore file and started work on collision detection.