Initial commit of function generate_numbers