added Makefile and test file