Added list truncate functions Closes #1