Teachers are being forced out of the profession amid rising costs of rent and inflation in big cities, but one California school might have a solution to keep them in the classroom.