WPF Functions I finished

finished the class exercise for functions.