Finished coding for Functions Wacky

Included a function to run the equation and cleaned up console logs