Now the name of the players are returned too.
Changed extra parameters so use ArrayList instead of primitive arrays.