Python implementation of Shamirs Secret Sharing