A C++ Thread Class (Simple Thread Base class to understand C++)