Two Eggs Coding Problem.

Needs Refactoring!