My code wont work!

You shouldn't do fritzing !
If you have no other source than a fritzing picture for heaven's sake post it.
Otherwise do a much more informative and easier to create schematic like described in this 3 minutes tutorial

Take a look into this tutorial:

Arduino Programming Course

It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.