Add 1.2.py

Implemented best found solution in python 3.