How To Change Array Into List In Java