Add loop to go through and check if we encounter LIST.

Not working yet.