David Halliday, Secondary teacher