Solution to 1st problem added