add simple Threads

add CompareRunnable class, add function isThreadsWorks into Compare
class, update Compare class