console application that checks if a sequence is palindromic or not