add randdir
Merge pull request #2 from s10018/mai-om

add randdir
implement dumping process
Merge branch 'master' into yk-twww
bug fix
commentout main