Added iterator to the KeyTree