Added python scripts for message-passing decoder