added comments and fixed a formatting error of the way we stored the data. now properly aligns the the columns and rows.