input: Write a python function to process player movement between rooms.
  assert process_input("go north", "room1") == "room2"
  assert process_input("go north", "room2") == "room3"
  assert process_input("go south", "room2") == "room1"
  assert process_input("go south", "room3") == "room2"
  assert process_input("go north", "room3") == "You can't go that way"
  assert process_input("go south", "room1") == "You can't go that way"
output: def process_input(command, current_room):
      rooms = {
          "room1": {"north": "room2", "south": "You can't go that way"},
          "room2": {"north": "room3", "south": "room1"},
          "room3": {"north": "You can't go that way", "south": "room2"}
      }
  
      direction = command.split()[-1]
      if direction in rooms[current_room]:
          return rooms[current_room][direction]
      return "You can't go that way"