Homework number 5 - Multithread Application