Implement list using array.