Add stdalgo::erase() and use it to simplify code
Add stdalgo::isin() and use it to simplify code