Random AI now working. Fixed up board state parsing.