Collision Cheking added & DRY principle implemented with player.direction facing