adding array to sentence transformation function
adding digital root function
thread_wait exercise accepts an array of threads and returns the first thread to finish