Implemented method to generate row / column titles. Currently causes
NullPointerException.