Fixed a vicious bug in board.c affecting the direction_shift_square_set_by_amount function.