Add sentinel in arraylist.h