Housing is a problem in Nigeria, write an algorithms to solve these problems.

Try something along these lines:

Begin Loop
- if not enough housing then
-- determine what kind of housing is required
-- find resouces (money, land, etc.)
-- build required kind of housing
loop while still not enough housing