Added dog state machine. Created an auto-kill script with an event that both the duck and dog subscribe to. All requirements fulfilled.