added a simple function that determines if a hill slopes up or down
Merge