Example of finite state machine using message passing