Complete exercise 12 (seq= function).