Added the combinations algorithm and some a unit tests to check that it produces some correct results, need to add more