Tries alls combinations