The 16-year-old boys kept warm throughout the night by building a shelter, staying put and starting a fire -- with homework one of the boys had brought in his backpack, rescuers said.