Added solution to problem 6
Added comments to problem 6 script
Removed unnecessary comment indentation