LONDON - British mathematician Alan Turing ended his life condemned for being gay, but ‘The Imitation Game’ has finally seen him recognised as a hero who hastened the end of World War II by cracking the Nazis’ codes. The film, nominated for eight Oscars and nine Baftas, shows the father of modern computing working obsessively to decrypt the codes produced by the Enigma machine, which were changed every 24 hours. In succeeding where no one else had, Turing cut the war short by two years, according to a number of historians - potentially saving up to 14 million lives.