Add distance example to cabal file