added Makefile, modified test code to compare to cpu answer