added x and y properties to block
Positioning player by center point