Working on itemList declaration bug

For some reason the program is hanging when I declare itemList!
This is very odd