implemented collisions detection
implemented:
 collisions detection with obstacle
 simple ai
Merge pull request #5 from asavchenko/bc-06-asavchenko-collisions-detection

BC-06