Add unit test class
Add logger
Add stub test (Original goal abandonded, move static #main to unit test
as method was more integration test than unit test)
Fix [SonarQube] Avoid commented-out lines of code (A block of
commented-out lines of code should be removed)
Add javadoc
Refactor parameter name for descriptiveness
Fix [SonarQube] if/else/for/while/do statements should always use curly
braces
Add javadoc
Add logger
Fix [SonarQube] Exception handlers should provide some context and
preserve the original exception
Fix [SonarQube] if/else/for/while/do statements should always use curly
braces
Add javadoc
Fix [SonarQube] if/else/for/while/do statements should always use curly
braces
Add throws NoSuchElementException to method signature