Alan Turing, the British mathematicial genius who cracked the German Enigma code and helped bring an end to World War II, has received a royal pardon 59 years after his death.