Fix for the score hand and state machine

fix to consider the numbers above 9 on the score hand and first try for the state machine