Refactor with custom data structure which implements Iterator.
- Design and implement a custom data structure which contains block and transactions
- This data structure implements Iterator which can be iterated by
for...of...
- This data structure implements async Iterator which can be iterated by
for await ...of...
- This data structure contains multi methods which can process some operations.