Work on analysis algorithm. How do I capture where the list is ascending and where it's descending?