Adding the base code for the thread version.
Added comments to main; declared, instantiated and passed a struct to the thread function.
Merge conflict solved.