added some stuff for slave hosts; need to write helper functions
mapPartition and reducePartition.  added makefile.