Copied Chiel's code and makefile into the "code" directory