adding the merge sort code
added the code for most commonly used BInary tree operations