Python script for generating, activating, checking of scratchcards