Added piping functionality to Decoder.java and Encoder.java (but Encoder needs a file to read from, because he needs to know the length)