The concept of a H bridge is very simple. That diagram is very simple. Making it really work at non-audible PWM frequency is not simple.
Does this actually have to work for a long period under different conditions? Or do you just demonstrate it to the teacher? If it is demo only then build that circuit.
If you actually do want to use this in a project that will run for a long time then buy a chip like the VNH5019.