Performance Evaluation of an Optical Packet Switch using Wavelength and Code domain to solve Output Contentions