Appears to be working (for application)

Todo:   Applet if necessary.
        Fix output to match the format in the assignment