implemented a command line interface that takes an input using process.stdin  and checks to see if its a palindrome