standardized output and comments

exercises correct solution but needs improvement