Photovoltaic cell p-type and n-type process