Commented out the testing for 1D peak finding, because I need to include the file in 2D peak finding.
Wrote the 2D peak finding greedy algorithm