skeleton for translation method
type declaration
standard way to select a random index out of an accumulative array
method to cbook-code x & y
fix for accum-array with 0
translate method for phmm, working
update README