More subtle changes to Program5

Added a String.format to help clean up output
Started Homework7
Finished Homework7