problem 1 Dictionary impl