Putting 'You are so certain' or 'So certain you are' (which should it be?)
The original sentence should be, "Are you so certain?".
Interogatives in general won't work because English has
already inverted them, so the pattern for making them
come out backwards is itself backwards. This could be
solved by looking for '?' and using a modified algorithm.