Add the multi-dictionary structure and finish the assignment 3, but some modification of the code need to be done