title: how to write function Max($array) which returns the maximum value contained in $array or some array nested within $array
body: <p>Eg: </p>
  
  <pre><code>$array= array(array(141,151,161),2,3,array(101,202,array(303,606)));
  </code></pre>
  
  <p>output :606</p>