Basic data structure of CKY done