Created vote and set simple ranking algorithm.