function to compute majority in an array in linear time implemented
pushing changes
added a new message type
Merging siva's client and message code
Merge branch 'siva_brach'