Implement List Adt Using Array In A Function