Added solution for the top 10 problem