addd a remove node functionality and synced the .c and .h files*/
split out the map and reduce functions since they are going to be pretty much universal for both ways.. the framework is the only thing that is really going to differ. i'm going to merge over this branch soon i think