New library program can earn students a high school diploma