Added 'successors' and 'predecessors' methods + tests.