function [ w, p ] = boundary_tiny ( )

%*****************************************************************************80
%
%% boundary_tiny(): the boundary word defining the tiny polyiamond.
%
%  Discussion:
%
%    The boundary word describes how to trace the boundary by starting
%    at a base point (i,j), and taking a sequence of steps of unit length 
%    in one of 6 directions, as suggested by this diagram:
%
%          5-----0-----*
%      ^  / \   / \   /
%     /  /   \ /   \ /
%    J  4-----P-----1
%      / \   / \   /
%     /   \ /   \ /
%    *-----3-----2
%
%          I-->
%
%    If the current position P has parallelogram coordinates (I,J), then
%    the step of given index moves to
%
%      0  (I,  J+1)
%      1  (I+1,J  )
%      2  (I+1,J-1)
%      3  (I,  J-1)
%      4  (I-1,J  )
%      5  (I-1,J+1)
%
%    The tiny polyiamond looks like this:
%
%  ^       2 *-------*-------*-------*
%  |        / \     / \     / \     /
%  J       /   \   /   \   /   \   /
%         /  C  \ /     \ /     \ /
%      1 *-------*-------*-------*
%       / \     / \     / \     /
%      /   \ A / B \   /   \   /
%     /     \ /     \ /     \ /
%  0 *-------*-------*-------*
%    0       1       2       3 
%
%                I -->
%
%    Thus, the boundary word for this example can be computed as:
%
%            *-------*-------*-------*
%           / \     / \     / \     /
%          3   5   /   \   /   \   /
%         /     \ /     \ /     \ /
%        *-------*-------*-------*
%       / \     / \     / \     /
%      /   2   /   5   /   \   /
%     /     \ /     \ /     \ /
%    *-------*---1---*-------*
%
%    or, as a string, '21553'.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    string W: the boundary word.
%
%    integer P(1,2): the boundary word starting point.
%
  w = '21553';
  p = [ 1, 0 ];

  return
end

