Improved obstacles, added collision detection

Obstacles randomly get created in random positions ahead of player and
will destroy player if collided with. Obstacles behind player get
removed and new ones are created.