Moved the logic for computing sonar depth increases out of the main function into its own module. Made the window size adjustable, with a default size of 1, so the same program can answer both questions from the Day 1 puzzle.