Basic Python implementation of Shamir's Secret Sharing algorithm.