Done with ArrayList (dynamically resizeing array) implementation.