added method getTaskIndexArray() in LOLParser