Replace Constructor With Factory Method at lanSimulation.Node(byte type,
String name, Node nextNode) with method lanSimulation.createNode(byte
type, String name, Node nextNode)

Replace Constructor With Factory Method at lanSimulation.Node(byte type,
String name) with method lanSimulation.createNode(byte type,String name)

Replace Type Code With Subclasses