added struct for properties, print wrapper function, and loop to read in nums and create threads.