Added code and makefile