Hills-and-Valleys An application that counts hills and valleys given an array with numeric values representing the ground