added check for same name in humanplayer.h.cpp