Create shannon_entropy.py

shannon entropy in python