Added a function to compute h_js from keygen and added a map to election from message_sender_id to h_j