1. The problem statement, all variables and given/known data See this link for the given assignment. http://eilat.sci.brooklyn.cuny.edu/cis1_5/HW5i_C.pdf [Broken] note: on the last page the output aa4bcdd0cc1 is actually supposed to be aa3bcdd1cc1c. 2. Relevant equations I have no idea why my encoder function doesn't work. No matter how I try to do it (I've tried strings, arrays - everything), the function copies the input exactly instead of encoding it. I followed the given pseudo code, and it had no problems for the decoder, but I must be doing something wrong for the encoder. Any advice would be appreciated 3. The attempt at a solution See the attached source code.