Update the check_last_number for new name generator

Last upload did not have the functionality to check for the last number,

This version uses os.walk() and regular expressions to find the latest
number