Cards - Project Euler Challenge 54