Added new patterns.

Matches the iteration counter and the final rank.
Enabled support for newly created patterns.

The map task will output a single iteration number, or begin with 1 if
none were read in from stdin, which will happen when running with
multiple tasks.

The reduce task will then choose the maximum iteration number and emit
that to the process map/reduce tasks.
Integrated one-process map/reduce tasks.

Stops after running for 20 iterations.