Collision detection

collision detection between block and player and between blocks and
bullets