added string repeat function documentation