Solve problem 1
Add problem 2
brute force problem 2
sort the list of cards first