import random

class Drunk(object):
    def __init__(self, name = None):
        self.name = name

    def __str__(self):
        return 'This drunk is named ' + self.name

class UsualDrunk(Drunk):
    def takeStep(self):
        stepChoices = [
            (0.0, 1.0),
            (0.0, -1.0),
            (1.0, 0.0),
            (-1.0, 0.0)
        ]
        return random.choice(stepChoices)

class ColdDrunk(Drunk):
    def takeStep(self):
        stepChoices = [
            (0.0, 0.9),
            (0.0, -1.1),
            (1.0, 0.0),
            (-1.0, 0.0)
        ]
        return random.choice(stepChoices)