Makefile added
main for the test added. makefile now build a static lib and link with the main test