Replaced numbers with BOARD_SIZE constants