Teacher runs to inspire his pupils