Completed the print function!