Checks if the inputted string is a palindrome in Java. Utilizes a for loop to iterate through the target after the string has been broken into a character array.
Based off of an example from dcp and Michael Myers on stackoverflow.com url: https://stackoverflow.com/questions/4138827/check-string-for-palindrome