Create array list and it will be used for other data structures.