Updated style check global variables to not consider variables starting with underscore. Use subprocess check_call for g++ instead of os.system call.  Use os mkdir to create directory.  Use shutil rmtree to recursively remove directory.