Added basic upvoting algorithm. Commit 13-1