Added in solution to string #7. 

Changed a bit of formatting as well