Finished homework06, listing 5-1 is unfinished, however.