Buffalo Grove students place third in History Day contest