Added the resetVotes method

includes javadoc