\documentstyle{article}
\pagestyle{myheadings}
\def\headlineaux{\sc Math 220/317: Programming II/Data Structures
\hrulefill
}
\markboth{\headlineaux}{\headlineaux}

\begin{document}
\begin{titlepage}\begin{centerline}{\Huge \framebox{Burt Rosenberg}}
\end{centerline}\end{titlepage}

\begin{verbatim}


$ run 23tree

-------------------------------------
Welcome to Two/Three Trees!
 Commands:
 Quit : quit.
 Help : help.
 Print : print.
 Chop : chop the tree down.
 n (a positive or negative integer) :
    search for n in tree, if not
    found, insert it and print tree.
-------------------------------------

>1
(1)
>2
(1,2)
>3
(2)
|`----(1)
`-----(3)
>4
(2)
|`----(1)
`-----(3,4)
>5
(2,4)
||`---(1)
|`----(3)
`-----(5)
>6
(2,4)
||`---(1)
|`----(3)
`-----(5,6)
\end{verbatim}
\pagebreak[4]
\begin{verbatim}
>7
(4)
|`----(2)
|     |`----(1)
|     `-----(3)
`-----(6)
      |`----(5)
      `-----(7)
>8
(4)
|`----(2)
|     |`----(1)
|     `-----(3)
`-----(6)
      |`----(5)
      `-----(7,8)
>9
(4)
|`----(2)
|     |`----(1)
|     `-----(3)
`-----(6,8)
      ||`---(5)
      |`----(7)
      `-----(9)
>10
(4)
|`----(2)
|     |`----(1)
|     `-----(3)
`-----(6,8)
      ||`---(5)
      |`----(7)
      `-----(9,10)
\end{verbatim}
\pagebreak[4]
\begin{verbatim}
>11
(4,8)
||`---(2)
||    |`----(1)
||    `-----(3)
|`----(6)
|     |`----(5)
|     `-----(7)
`-----(10)
      |`----(9)
      `-----(11)
>12
(4,8)
||`---(2)
||    |`----(1)
||    `-----(3)
|`----(6)
|     |`----(5)
|     `-----(7)
`-----(10)
      |`----(9)
      `-----(11,12)
>13
(4,8)
||`---(2)
||    |`----(1)
||    `-----(3)
|`----(6)
|     |`----(5)
|     `-----(7)
`-----(10,12)
      ||`---(9)
      |`----(11)
      `-----(13)
\end{verbatim}
\pagebreak[4]
\begin{verbatim}
>14
(4,8)
||`---(2)
||    |`----(1)
||    `-----(3)
|`----(6)
|     |`----(5)
|     `-----(7)
`-----(10,12)
      ||`---(9)
      |`----(11)
      `-----(13,14)
>15
(8)
|`----(4)
|     |`----(2)
|     |     |`----(1)
|     |     `-----(3)
|     `-----(6)
|           |`----(5)
|           `-----(7)
`-----(12)
      |`----(10)
      |     |`----(9)
      |     `-----(11)
      `-----(14)
            |`----(13)
            `-----(15)
>q
$

\end{verbatim}
\end{document}

