This passage is two stanzas of a famous Lewis Carrol poem, "The Walrus and The Carpenter". The poem was also recited in Alice in Wonderland by Tweedledee and Tweedledum.