Fix Board::try_add_wall.

Fix default value of result.
Make minor fixes in Board.

- method add_wall calls try_add_wall to check if wall is valid;
- remove cout;
Fix filtering edges.
Replace try_add_wall with add_wall in board unittests.