added nested array putting program