folks! ThisThis to just inform to anyone in the future who faces a similar problem. I solved the motors problem by simply shifting all of the pins that were from 10-13 to before that. Apparently these pins have something low-level technical going on which interferes with the working. Thanks to all who helped.