working on DataOutputStream arrays list