Quote:
found answers in other programming languages (I think square brackets do what I want in javascript, but I didn't look to closely).
Those are called dictionaries. They tend to use the same syntax for array indexes as well.
They are also known as Mappings in Java (Map and HashMap). They are key-value store objects. Turing doesn't have a native implementation for them.
There are a Turing libraries that implements dictionaries, or rather HashMap, though it's very verbose.
http://compsci.ca/v3/viewtopic.php?t=20302
OpenTuring has a HashMap implementation, but that won't help you if you if you're submitting for a school project.