C: correct output from problem 13.

Pass in data directory as argument.
C problem 14 using GMP for large integers.

Still a bit slow.
Also add -lgmp to check_all.sh.
C 14: use static variables to minimise initialisation
Simplify Python problem 14.