the book 'data structure and algorithms in python' answer