title: java Run-length encoding
body: <p>I have no idea how to start my assignment.</p>
  
  <p>We got to make a Run-length encoding program,</p>
  
  <p>for example, the users enters this string:</p>
  
  <p>aaaaPPPrrrrr</p>
  
  <p>is replaced with </p>
  
  <p>4a3P5r</p>
  
  <p>Can someone help me get started with it?</p>