[Ransom] First crack

Needs further testing, but the bulk of the algorithm is in place. In
this problem you have to try to form the *.note message using
letters from *.magazine. I am assuming that the note will be much
smaller than the magazine contents. I first read in the entire note
and then I check if the character count of the magazine contents
corresponding to the first note letter is not zero. If it is zero I have
to read in a line from the magazine contents and update the character counts.

Once I update the character counts I repeat the process and move the note
pointer if we find the character, else I read in another line. I repeat this
process until either the magazine contents are exhausted or the note has
been generated.