main is complete, thread has an issue
Merge https://github.com/bkold/lab6
main is complete, thread has an issue