python war card game oop