Add SequenceMachine.generateNumbers
Using member variable instead of random module in pattern machine
Using member variable instead of random module in sequence machine