Added more functionality to ArrayStructures.
Updated ArrayStructures.java