Figure 1: Stick figure resulting from input file in Listing 2