Main class for execute 2 concurrent threads