Converted votes_helper into partial

Changed votes_helper into a partial and updated index.html.erb