CYK-Algoritm to test if a given word belogs to the language created by the context-free grammar
checks if the given word belongs to a context-free language