Added a combinations algorithm to Python