Motor Not running

Did you not read what I said?

Let me repeat it. Until you find a way of working out what the code is doing, there is absolutely nothing we can do to help.