added makefile to easy building and testing