If not then we have to call recursion from 1 st to all elements then add recursion result to 1 st element and return it
smallOutput = replacePi ( string [ 1 : ] ) NEW_LINE return string [ 0 ] + smallOutput NEW_LINE