Divide by ten function using currying