Check if tree B is a sub tree of tree A