Alan Turing will appear on the 50-pound note nearly 70 years after being persecuted for his sexuality.