move randomize_ai_board function out of board setup function so as to provide better ability to test