- refactoring 'showBoard()'
- documented a code