Finished implementation and testing of Node and Pattern classes.  Now need to write comparison function