removed all initialize functions, and replaced boardstate with rows array