Moved the Node classes into Problem82 and Problem83 as private static classes.