An examination of the function of education in prisons: social, political and penal persepectives