A deck of cards coding challenge i had to do for a job interview.