Drop support for python2
Port more solutions to python3