Adds formatString function which is a very very basic string formatting function.