some hand-written queries in awk and c

c version
time ./a.out ~/Downloads/googlebooks-eng-all-1gram-20120701-a
real    0m17.396s
user    0m16.929s
sys     0m0.456s

awk version
time awk -f query_t1gram2.hand.awk ~/Downloads/googlebooks-eng-all-1gram-20120701-a
real 2m1.157s
user 1m59.960s
sys  0m0.994s
Merge branch 'master' of github.com:scala-lms/tutorials