added comment to equation line for puppySmiles variable
added return for puppySmiles equation
added comment to return for puppySmiles equation
added "if" statement to function and moved the variables from function to inside if statement inside function
added workspace file to idea folder