Some quick contributions

I hope these changes will help you out:

    * A README file to help others understand the program.
    * Improvements on the formatting and of the code and its expression of intent.
    * A portable time seed for the srand function which expects an unsigned rather than a time_t parameter.