define NumberGenerator and Number classes using TDD