[Haskell-beginners] Simulation of interconnect network