leetcode:add state transition diagram of finite automata in Valid Number