changed arrayLists to fixed length 3d array. makes things a lot easer to
read imo.