Adding SWIG support and test program..

Almost calling C from java.  Kind of a PITA to set up.