Sharmir Secret Sharing Implementation