Update ch3.md: missing semi-colon

Modified ch3.md example to include semi-colon after return object