refactor horiz and vert scoring to use 2d arrays