Revert "Added brackets and signature for Palindrome"

This reverts commit 9e83b739900bc3808e2c89199269d82318e0e8b4.
Added signature for isPrime