Addinf FSM machine for the reading assignment_1