I have copied the verses from my computer bible E-Sword the International Standard Version of the bible
Mat 11:12 "From the days of John the Baptist until the present, the kingdom from heaven has been forcefully advancing, and violent people have been attacking it,
Going by the commentaries on this verse, the commentaries did not have one opinion there were several possibilities. This could mean that the Jewish people had a lot of adversaries over a long period of time. Another idea was the spiritual warfare that had gone on We know that Satan had rebelled and continued attacks on the Christians..Mat 11:13 because the Law and all the Prophets prophesied up to the time of John. Mat 11:14 If you are willing to accept it, he is Elijah who is to come. Mat 11:15 Let the person who has ears listen!
Elijah was one of the most prominent prophets. He went after the false god baal and because of that many turned back to Christianity. God took Elijah to heaven in a chariot of fire. His Story can be found here. Jesus was comparing John the Baptist to Elijah. John was turning the non-believers back to Christ.
Mat 11:16 “To what can I compare the people living today? They're like little children who sit in the marketplaces and shout to each other, Mat 11:17 ‘A wedding song we played for you, the dance you simply scorned. A woeful dirge we chanted, too, but then you would not mourn.' Mat 11:18 Because John didn't come eating or drinking, yet people say, 'He has a demon!' Mat 11:19 The Son of Man came eating and drinking, and they say, 'Look, a glutton and a drunk, a friend of tax collectors and sinners!' Absolved from every act of sin, is wisdom by her kith and kin."
Here Jesus is comparing the people of his time to small children arguing but not coming to any conclusion. The wedding song is Christ message to the people that there was something better than the old covenant. The remained stubborn to the old ways and say that John was possessed and Jesus was a drunk and friend to sinners and tax collectors not someone to follow.
Mat 11:21 “How terrible it will be for you, Chorazin! How terrible it will be for you, Bethsaida! Because if the miracles that happened in you had taken place in Tyre and Sidon, they would have repented long ago in sackcloth and ashes. Mat 11:22 Indeed I tell you, it will be more bearable for Tyre and Sidon on the day of judgment than for you! Mat 11:23 “And you, Capernaum! You won't be lifted up to heaven, will you? You'll go down to Hell! Because if the miracles that happened in you had taken place in Sodom, it would have remained to this day. Mat 11:24 Indeed I tell you, it will be more bearable for the land of Sodom on the day of judgment than for you!"
These towns that Jesus is referring to were larger towns with bigger populations. Jesus is pointing out that if they had all seen the miracles that he had done. The small towns would repent and become followers. The larger towns needed more it appears. Because they were not repentant it would be better for them that they were Sodom. The town that was swallowed up by the earth.
Mat 11:25 At that time Jesus said, "I praise you, Father, Lord of heaven and earth, because you have hidden these things from wise and intelligent people and have revealed them to infants. Mat 11:26 Yes, Father, because this is what was pleasing to you. Mat 11:27 All things have been entrusted to me by my Father. No one fully knows the Son except the Father, and no one fully knows the Father except the Son and the person to whom the Son chooses to reveal him. Mat 11:28 “Come to me, all of you who are weary and loaded down with burdens, and I will give you rest. Mat 11:29 Place my yoke on you and learn from me, because I am gentle and humble, and you will find rest for your souls, Mat 11:30 because my yoke is pleasant, and my burden is light."
Jesus is giving praise to the father for allowing the children, here that means the non-believers that listen to his message. Jesus also was making the listeners aware of who he was and what authority he had, He then told tome to give the problems to him and he will help them carry the burdens of life.