How a Nova Scotia man turned his jail cell into a high school and changed his life