Modeling multicellular behavior in epidermal tissue homeostasis via finite state machines in multi-agent systems