refactored a function into utilities
refactored AbstractBoard
Merge branch 'dev' into arithmeticRepresentation