Palindrome Program using JAVA

Accepts input and checks whether the string is a palindrome. Stops accepting input, when string is GSCRnsit (case sensitive)