Found and implemented an algorithm for finding combinations. Lacks proper formats.