Update board.java to solve a bug and add comments
Merge pull request #1 from Quentin-M/patch-1

Update board.java to solve a bug and add comments