Write a few methods in NumArrayList