Ended code for copies number input

Ended code for generating diplomas

Fixed generating mechanism