@@ -0,0 +1,421 @@
+package com.k13n.lt_codes;%0A%0Apublic final class ErasureChannel %7B%0A  private final double erasureProbability;%0A%0A  public static final byte%5B%5D ERASED = new byte%5B0%5D;%0A%0A  public ErasureChannel(double erasureProbability) %7B%0A    this.erasureProbability = erasureProbability;%0A  %7D%0A%0A  public byte%5B%5D transmit(byte%5B%5D data)%0A  %7B%0A    if(Math.random() %3C= erasureProbability)%0A    %7B%0A      return ERASED;%0A    %7D%0A    else%0A      return data;%0A  %7D%0A%7D%0A

Add erasure channel class, mostly for testing purposes