equal
  deleted
  inserted
  replaced
  
    
    
|      5 object M4b { |      5 object M4b { | 
|      6  |      6  | 
|      7  |      7  | 
|      8 // !!! Copy any function you need from file knight1.scala !!! |      8 // !!! Copy any function you need from file knight1.scala !!! | 
|      9 // |      9 // | 
|     10 // If you need any auxiliary function, feel free to  |     10 // If you need any auxiliary functions, feel free to  | 
|     11 // implement it, but do not make any changes to the |     11 // implement them, but do not make any changes to the | 
|     12 // templates below. |     12 // templates below. | 
|     13  |     13  | 
|     14 type Pos = (Int, Int)    // a position on a chessboard  |     14 type Pos = (Int, Int)    // a position on a chessboard  | 
|     15 type Path = List[Pos]    // a path...a list of positions |     15 type Path = List[Pos]    // a path...a list of positions | 
|     16  |     16  |