Based on the life of Alan Turing - a mathematician, code-breaker and pioneer of computer science.
In 1938, he began working for a secret British organisation called the Government Code and Cipher School. He helped the government decipher the German Enigma machine. He designed a machine - Bombe - that successfully decrypted the German war codes. In 1945 he was given the Order of the British Empire (OBE) for his services.
Post-war he turned his attention to another sort of machine, and in 1949 he developed a body of work that became the basis of artificial intelligence. In 1951 he was named as a fellow of the Royal Society.
In 1952, he was tried and arrested for being a homosexual (then a criminal offence). To avoid prison, he accepted treatment through injections of estrogen for a year that were meant to neutralize his libido. All his security clearances were also withdrawn.
He died in 1954, he committed suicide.