Magpie 3

Magpie 3 assignment.