Very simplistic version of Shamir's Secret Sharing.