Add build script.
Add examples from spec section 8.