in reply to creating a LINK

Here's something to get you started: ARRAYS OF ARRAYS

If you want help with a specific piece of code, you'll have to post that, along with some sample input and expected output. Please read How do I post a question effectively?