Updated s.t. moves when col or row count is 8 is correct