added 2 more bug/defects in register and added new PalindromeException class