Fix the logic of ArrayList, the array list should be continuously
and finish ArrayListTest file
gonna finish LinkedList