A mathematical model of the development of drug resistant to cancer chemotherapy