FP101x Introduction to Functional Programming, Lab 5

Rewrite action.