in console matrix with flood fill