Collision on left and right side of block implemented and reset game method added.