some codes for testing when I study Data Structure.