Implementation of Binary Search Tree and various traversal algorithms in Haskell