Added Makefile and main source code