Adding collisions between player and tiles