started detectTetrisBoard method