Added a comment to the print function describing my approach to writtng the function