Added code for solutions as ordered dictionaries.