Used a set to keep unique values only, sorted the set at the end
Implemented check4to9 and save values that follow a 4to9 digit number
Added some extra test data for check4to9