Fixed index specification for the C binding
Added "test2" program for to test the C bindings. Also added AUTOFD_PI macro for specifying pi to 32 digits.