Converted to FP Complete Haskell Center
Finished definition of data type Distance