Arm Interview Question

Can you write a VHDL implementation of a FSM controlling a traffic light?