Added dictionary solution.