use weight_array instead of Node Class
change README.md
bug fix(segmentation fault)