Adding palindrome, prime numbers and string reverse implementations