Commit 13-1: Added basic upvoting algorithm