added method for setting the name of a certain player
added more javadoc