Added line numbers to error messages

Added dir_line_counter which increments each time my_directions.shift
occurs.