Britain wouldn’t have won the war without its eccentric geniuses.