Patient-Referee Matching using Haskell