This is a simple exercise to showcase TDD. The PDF contains the requirements. The rest of the code serves as sample code.