Fix references to raw_input()
Fix references to xrange