Function to return the minimum cells that are connected via the minimum length path
function Minimum_Cells ( v ) { let col = new Array ( 3 ) ; let i , j ; for ( i = 0 ; i < 3 ; i ++ ) { let column_number = v [ i ] [ 1 ] ;