Code for this section:

Start of ArrayT code is here