Learning Python via re-writing a Solitaire game