Added code implementations for string

Added code implementations for interview questions on string