Worked on voting system

Made it sort the output correctly, added a feature that lets users
change votes.