This is an example implementation of blockchain platform. The data structure is a simplified version of the structure used on the Ethereum platform.  The data is stored in memory.  New blocks are always added after at least 4 pending transactions have been added. In this example, the Proof of Work consensus method is implemented.