Lottery program adds affordable housing