How to compile this smart contract:
run your browser, here use the Chrome browser. then type URL https://remix.ethereum.org create a new file with the suffix .sol example contract.sol Don't forget, adjust the json compiler version. then click "deploy smart contract".