if (!this.contains(player)) {
if (this.get(i) == null) {
super.remove(i);
super.add(i, player);
} else {
throw new PlaceTakenException("The place" + i + " is taken!");
}
} else {
throw new PlayerAlreadyInGameException("Player is already in game.");
}
} else {