Added input printing.
Changed parsing to the constructor.
Changed constructor to use an istream.
Added some early walking code.