Some edits in the promo code generation method. Now each promo code is guaranteed to be unique.