Added the line of sight method.

The method determines if two nodes in a grid are within line of sight of
each other. Also, added some print methods to help with current and
future debugging.