Added solutions for first 2 ques of string manipulation

Please review first 2 question of string manipulation.