Implement the function ListInsert(for ArrayList) and add the Unit Test for this function.