title: Full description of a compression algorithm
body: <p>I am looking for a compression algorithm (for a programming competition) and I need a full description of how to implement it (all technical details), any loseless and patent-free algorithm will do, but the ease of implementation is a bonus :)</p>
  
  <p>(Although possibly irrelevant) I plan to implement the algorithm in C++...</p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT:
  I will be compressing text files only, no other file types...</p>