Makefile updated
started pthread implementation