Rename Grid to Board and add unit tests for Board