A simple demo of race conditions in C