City education officials said yesterday that they had reassigned the principal of Public School 58 in Cobble Hill , Brooklyn , after receiving allegations that students had improperly gotten an advance look at questions on the statewide English exam .