for a single cornsnake, a 20-gallon long tank should work. Make sure that you have a under the tank heater at one end, hides at both ends and a fresh water dish.
As far a breeding goes, I think the consensus is not to breed unless the female is heavier than 300 grams. Someone will correct me if I'm wrong on this point.
--Kevin