Functions 1st assignment.

Fixed problem with code. Made a variable to return on the console.log.