Added several solutions in Python 3