Some codes to demonstrate how basic data structure works.