add compute_path()
modify return value compute_path() function
add parameter messSafe to record safe status of each flip
add constant value SAFE and UNSAFE