I tried many ways from former questions in this topic, and I don't know, maybe something wrong with creating threads in Solution class, or inheritance?