day_14/maze_04.js
// initialize maze with walls at every cell
initialize maze with walls at every cell
initialize maze with walls at every cell
function initializeMaze(rows, columns) {
    let s = Array(rows);
    for (let i = 0; i < rows; i++) {
        s[i] = Array(columns).fill(0);
    }
    return s;
}
function initializeMaze ( rows , columns ) { let s = Array ( rows ) ; for ( let i = 0 ; i < rows ; i ++ ) { s [ i ] = Array ( columns ) . fill ( 0 ) ; } return s ; }
initialize maze with walls at every cell
initialize maze with walls at every cell