added getters for row and column counts
Implemented basic model