Interleave4

This is my finished programming test from Rory at Ecometrica.