there could hardly have been a sharper contrast from the morning 's mindless exertion as the teacher a middle-aged , bearded man called robert gave them a quick succession of puzzles to solve and codes to break .