Added make target for testing purposes.  Compiles and debugs the test program with make test
Fixed formatting errors with printf that were causing segmentation faults