Add basic upvoting algorithm.