Moving common functions to a module
Adding module for binary tree util functions