Had to change subList functions because it raised errors(subList does not actually clone...)
Added feature to remove docstrings from function