Assembly Simulator in Haskell