Sample code bits exhibiting Multithreading related issues for educational purposes