S.F. library high school program gives students a 2nd chance