a sample code of fork()