copied test.c to qsolve.c, updated makefile to use test.c for testing