added code, README and Makefile