How to return and print out functions.