create a comparison method for answers