Classes Node and Queue added.