Topics In Scattering Amplitudes In Gauge And Gravity Theories