First Multithreading program with thread synchronization