experiments with parsing pdf files in ruby