Changing player types

Added ability to switch between human, random and pre-trained player types.
This and the function for changePlayer2 are almost identical - DRY.
Write a private function  that takes takes the name of a player type and returns the next one in the cycle, then call that from these two methods.