An attempt to implement wc-like application that uses multiple threads.