added for loop to veriliog snippet
add if statement to verilog snippets
fixed typo
updated snippets