Makefile and test programme added.