William Ramsden, alias John Arnold, Schoolmaster