Example code for BSD program in Chula