HW 10 on FSMs