Implemented base logic for AlphabeticHeaders.java