Move promotion code generation into a reusable object.
Merge pull request #18 from isaacgrant/promotion-code-generator

Move promotion code generation into a reusable object.