HW4: calc prob in RunViterbyAlg in log

Signed-off-by: unknown <zkk12345@gmail.com>