Turn off debugging
Add some comments for documentation on string methods
Redo `substring` method

Previously, this was causing some occasional errors in the parsing, due
to some naive assumptions.
Update join method
Update insert_substring method with better var names
Trash debug statement
Move `write_to_test_file` to helper