Boolean algebra, Flip-flops, K-Maps, Verilog

Converting state machine to verilog code