Code is uploaded to Arduino Nano, but not giving output

I think with that many servos you need to add some heavyweight decoupling.

See this Tutorial I wrote about it.

Tutorial on decoupling