TagList class created and returns hashmap of line numbers