begin functions_wacky
added comment to introduce the program
added comments to explain variables
added comments to explain function
added comment to explain the variable and invoke the function with parameters
added comments to if statement
added comment to else if statement
added console.log and comments