Fixed raw_input to work on both python 2.x and 3.x.