Implemented db writes in Trollitaire; added __main__ code to draft.
Bugfix - learn how to use lists?