Hanabi game implemented in python