finished recursively searching for price combinations