added slice function implementation
Merge pull request #5 from tarunrulz/newbranch

added a function slice(char string*, int start, int end) which gives the...