William George Spencer — English schoolmaster and mathematical writer