Coding Challenge for Pact