Working palindrome code

Like I commented at the top of the code, the program is bulky and all in the main function. The entire original palindrome gets changed for the 3 examples that need to be created for HW3 as well. However, the palindrome checks work for odd and even lengths, and the 3 extra palindrome examples from changing the original palindrome work for both the cases where it is a palindrome and where it is not a palindrome.

What needs to be done now is splitting up the example palindrome code into functions to make the code more efficient/readable, and to make it so the palindrome examples don't replace the entire original palindrome on the first run.