ASSIGNMENT #3
                               ===============

             
           Write a shell script which simultes the command "wc -w file1
           file2 ....". The program should process several files from the
           command line, open each file in succession, read a line from
           the file, count the number of words in the line and loop until
           the end of file and update a count. Output the name of the file
           and the corresponding count. Repeat the same process for the 
           files on the command line.


           Format of the output:

 
          Name of the file:                 Number of words in the file:


              file1                                nnn
              file2                                mmm
                .                                   .
                .                                   .
                .                                   .

          Compare your result with the command:
               wc-w file1 file2 file3... 
      


          NOTE: The program should be properly documented. Do not use
          "awk" or "wc" in the program. Your program should be able to
          handle all forms of character input including punctuation and
          quotation.