Moore Machine

Σ:
Λ: