added makefile and readme file and z threshold commandline arguments.