fix compile error
add expectimax algorithm