enum Direction { case up case down case left case right } var location = (x: 0, y: 0) var steps: [Direction] = [.up, .up, .left, .down, .left] // your code here