added string reverse and prime number