This seems like a cart before the horse situation. If someone was willing to invest in Grand to educate him to program, why would they also not invest in his overall wellbeing? Why did he have to be continue to be homeless to accomplish this if he had someone helping him out?
If it was me helping, I could afford to invest a certain amount in someone and help them learn to code, but providing enough money for stable housing is probably beyond my capability.