IP Routing Table in Haskell