Added a makefile

Added a makefile to build and perform unit testing.