Finished first version of ArrayList