[SOLVED]My circuit fried my Arduino. I can't point out the mistake myself...

You've likely fried something in the L298 that is allowing 12V through to the 5V supply.

Never NEVER leave those diodes out. Why would your electronics teacher ask for you to leave them out? One pulse is all it takes to fry a circuit. Are you sure that is what he said?