Justin Trudeau, a former teacher, spent part of his first day as prime minister answering the questions of students at five schools across the country, while more than 1,000 people followed along online.