p type and N type semiconductors