uploaded completed solution three, reflection for tally vote