add populating next right pointers ii