adding interface for reverse string function
Added reverse text function
Called reverseText function in implementation