Using Malloc To Initialize Arraylist