implement input, this compiles but I'm not sure it works - tests are up next

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/branches/compress-2.0@1556286 13f79535-47bb-0310-9956-ffa450edef68