Trouble writting a code for "wii nunchuck controlling pan tilt servo system"
It seems like you are trying to find code that will do everything for you. In the "real" world, it is very unlikely that someone has done the exact same thing as you are wanting to do unless it is something very simple.

What you will need to do is break your project down into very simple blocks. Once you have it broken down you will find it much easier to find code to do what you want it to do for that block. The key for you will be learning how to make all of the blocks interact with each other. If you are not willing to learn how to get these blocks connected, you should look into one of the sites that davr mentioned.

Learning how to connect the blocks will require you to learn how to program and design/interact with hardware, but if you want to do any more projects like this in the future, you will need to learn to do it anyways.