First Commit

Stimulates the pastry algorithm and also has provisions for failure
testing.