You can use CollectiveSolver anytime free of charge.
You can copy the code examples from CollectiveSolver and use them in your code. You may also change the code as you like. Please credit CollectiveSolver by placing a link to collectivesolver.com or mentioning CollectiveSolver as a question-and-answer website for programmers.