def evaluate_state_from_last_coordinate(self, c):
    '\n        cmax: 450\n        cmin: 150\n        \n        c definately will be between 150 and 450.\n        state0 - (150 - 179)\n        state1 - (180 - 209)\n        state2 - (210 - 239)\n        state3 - (240 - 269)\n        state4 - (270 - 299)\n        state5 - (300 - 329)\n        state6 - (330 - 359)\n        state7 - (360 - 389)\n        state8 - (390 - 419)\n        state9 - (420 - 450)\n        '
    if ((c >= 150) and (c <= 179)):
        return 0
    elif ((c >= 180) and (c <= 209)):
        return 1
    elif ((c >= 210) and (c <= 239)):
        return 2
    elif ((c >= 240) and (c <= 269)):
        return 3
    elif ((c >= 270) and (c <= 299)):
        return 4
    elif ((c >= 300) and (c <= 329)):
        return 5
    elif ((c >= 330) and (c <= 359)):
        return 6
    elif ((c >= 360) and (c <= 389)):
        return 7
    elif ((c >= 390) and (c <= 419)):
        return 8
    elif ((c >= 420) and (c <= 450)):
        return 9
cmax: 450
cmin: 150

c definately will be between 150 and 450.
state0 - (150 - 179)
state1 - (180 - 209)
state2 - (210 - 239)
state3 - (240 - 269)
state4 - (270 - 299)
state5 - (300 - 329)
state6 - (330 - 359)
state7 - (360 - 389)
state8 - (390 - 419)
state9 - (420 - 450)
def evaluate_state_from_last_coordinate(self, c):
    '\n        cmax: 450\n        cmin: 150\n        \n        c definately will be between 150 and 450.\n        state0 - (150 - 179)\n        state1 - (180 - 209)\n        state2 - (210 - 239)\n        state3 - (240 - 269)\n        state4 - (270 - 299)\n        state5 - (300 - 329)\n        state6 - (330 - 359)\n        state7 - (360 - 389)\n        state8 - (390 - 419)\n        state9 - (420 - 450)\n        '
    if ((c >= 150) and (c <= 179)):
        return 0
    elif ((c >= 180) and (c <= 209)):
        return 1
    elif ((c >= 210) and (c <= 239)):
        return 2
    elif ((c >= 240) and (c <= 269)):
        return 3
    elif ((c >= 270) and (c <= 299)):
        return 4
    elif ((c >= 300) and (c <= 329)):
        return 5
    elif ((c >= 330) and (c <= 359)):
        return 6
    elif ((c >= 360) and (c <= 389)):
        return 7
    elif ((c >= 390) and (c <= 419)):
        return 8
    elif ((c >= 420) and (c <= 450)):
        return 9