Function to parse rankings with ties. The rankings can be rankings of int or str Example: [{Bob}, {Martin, John}] or [{0}, {2, 1}]
Contents:
parse_ranking_with_ties()