Basic Degree conversion program