Added reverse int, tree depth and equality