Analysis of mayoral elections in Toronto