more work on detecting collisions between objects. almost working between 'walls' and movable player. there is still a problem with the player getting stuck in a wall when acceleration is enabled