Partially applied function and Currying. Made example returning 10 but not 11for #1.2 and #2.2 cases