Change logic of some list's methods and add some docstrings