Finished implementing dictionary and dynamic array.

- Fixed bugs in dynamic array
- Checked dynamic array for memory leaks
- Slightly altered tests
- Added typdefs for structs
- Finished implementing dictionary
- Added passing tests for dictionary
- Checked dictionary for memory leaks
- Changed operation of dictionary to use copied string keys only