Not just programming either; he invented a mathematical technique for calculating the nth hex digit of pi