sorted out the name of the handleCollision function
added gitignore