An unusual structure has received top marks in Uruguay to become Latin America's first sustainable public school.