Added Makefile
Fixed pthread_create parameters, switched strtok to strtok_r