Traverse binary search tree

implemented four different traverse methods.