The Structure of Amplitudes in N=4 SYM