Schools recently concentrated on teaching students to code, not to think like citizens. It's time to go back to a civic curriculum.