implemented OrderedDict data type and test case