Defined the function and its parameters. Returned results of the function's code, and printed results to the console.