a two part program that makes palendromes and modifies HW1 to use linked lists