Create chapter4.erl