Collision Detection Finished

movement after collision with a corner still needs to be implemented.