Oh my god it works. (Except it is reversed)

Main cause of problems was no method parentheses, etc... insert() was
slightly wrong in that it just added an empty string.