a example of multi-threading by python