Finite State Machine Can Recognize That A Wave