added ``_get_lines`` and ``simplify_lines``
fixed bug in ``_join_lines``
fixed bug in ``_get_lines``
finished implementing ``simplify_lines``