Added gitignore file
Added sampleInput.txt
Set up input and output.
Renamed A to H for height. Fixed print statements. Implemented LIS method.
Copied code LIS to LDS, changing one inequality.
Moved common code into init method.
Refactor to compute lis and lds in the same loop
Refactor to use a Result object that overrides the toString method