fix bug in GenerateBoard and BoardOutput, implement GetBoardSize and GetCordinate