Desultory spatial statistics

Using an awful brute-force method to work out the most common
line segment (and its length)