implement hasPathSum
implement printPaths for binary trees