Implement LivingCities version road generator

Also, fix a bug in segmentSegmentIntersectXY() function of Util class.