Merge skaters with same number, keeping track of a list of teams