Moved the collision resolution to a new file and function. Keeping player.c clean and easy to read.