beginning refactor of 2-dimensional lists of lists into pseudo-2-dimensional lists with a width and height