Add a Shannon's entropy python implementation