Mehmet Nuri Tike
1250810

        CENG532 - HW#3

Source file name: votingPVM.c

compilation     :
        gcc -o votingPVM votingPVM.c -lpvm3

compiles&runs   : Paralel machines labratory. (matris.ceng.metu.edu.tr)

usage           :
        ./votingPVM
	
	Program reads engineer names and ages from a file named "engineers.txt".
	The format of the file is as follows:
	first line : N = number of enginners
	next N lines : name and age of an engineer (white space in between)

	maximum length of name is assumed as 29 characters.
	name must not contain any white space characters.


special notes and explanation  :
	Program is written on master-slave paradigm. They are both implemented
	in a single program. Master reads engineer names and ages from file.
	Then it creates slaves and sends all worker tids and a single name 
	and single age to each slave. Then slaves do manager selection
	just like the IPC type of this homework. Each time voting they send
	the votes to the master as well as all other slaves. Slaves also send
	the final result to the master. Manager selection is done only 
	between slaves (no master interference). Master is informed just to
	display what is going on.

