change class name

from labelgrammer to labeler
add class degreelabeler and test cases