added collision detection
Formatted and reorganized source code
Added text display of id centered in circles