Add sizes check in Board method set_size.

Call method set_size from Board ctor.
Add const modifier to some methods in class Board.

- make method next_side const;
- make method player_pos const;
- make method is_at_opposite_side const;
- make method wall_intersects const and private;
- make field sides_ mutable;