Update core.tools.List

Fixed a number of bugs and added some features.