refined some code to make it DRY
refined code, added two shapes for rotation experiment
added prototype of collision detection