Some codes for datastruct practise.