Create DecodeWays.py

Need to further digest...