multiple threads to print out numbers and sleep time