add a Makefile for easy building and testing