2

Second (kinda) commit.

I'm converting the program to c++.  main() should be converted, but
still needs work.  I'm also switching to portable file I/O methods.