This worked fine so i have bought 3 new Atmega328 chips so that i can make another 3 controllers but when i try to upload to the chips i keep getting the error message: "avrdude: stk500_getsync(): not in sync: resp=0x00"
So do you have a link to where you bought your chips? If you bought 'factory virgin' chips then they won't work being plugged into an arduino board because there default fuse settings will not be setup correctly for the arduino configuration and there will be no bootloader program in the chip. You also need to know if you bought a 328p chip or a 328 chip (non p). Only if you bought a chip from a vendor that preloads a bootloader and sets the fuses will it be a plug and play situation. Even then you need to know what version of bootloader he is using in the chips he sells.
So all is not lost, you can burn a bootloader and set fuses on a vigin chip by using your arduino board and loading it with the arduinoISP sketch and then wiring the arduino up to the new chips installed on a breadboard. It's not difficult just a whole lot of detailed steps where any mistep and it doesn't work.
So that is why I suggested showing us where you bought the chips so you can directed on how to proceed.