Added function for getting the difference symbol for two values

The difference symbol will either be an up or down arrow depending on
which value is higher.