added basic voting function that broadcasts a string to other clients