Simulate the concept of Function Composition in Haskell