Made the example pattern test the sorting
Added a check that the pattern does not have two flare at the same dispenser at the same time
Added random number function
Adding random integer generator
Added tests for the random number generator