Modified Makefile to handle semaphores and added basic semaphore declaration to main()