Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9)
<p>Write a function <code>GeneratePassword</code> which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9).</p>

<p>When <code>GeneratePassword(5,'abc0123')</code> is called, it should return a random string of 5 characters taken from 'abc0123'.  </p>

<p>For Example : <code>GeneratePassword(7,'abczxc012394')</code> could return any of the following outputs : </p>

<blockquote>
  <p>2c00acb<br>
  2c23z93<br>
  030b2a4</p>
</blockquote>
