added print statements and comment
added print statements and comments
added print statements and comments