Exercises 7 + 8 (curry/uncurry)