comput word in-dgree out-dgree in function get_wordgree
version 0.0.1