moved most polygon stuff to geometry.Polygon
fleshed out geometry library
collision between rects and circles works