public Pattern(int width, int height) { this.width = width; this.height = height; this.cells = new int[height, width]; this.rowmoves = new int[height]; this.columnmoves = new int[width]; }