Ek node with do function

compose Matrix using Matrix_generate from `data_structure.py`. Seems ok.