Head Improvement

Now supports printing the first K bytes as well as proper stdin support.