Add multi threads practice in C