Rewrote Dictionary in C