Adding solutions for the dictionary and set lab.