Wrote code for casting cumulative votes. Not tested