[WIP] Porting adaptiveASTAR: organising code

  * removed some unused code from Xiaoxun (RList)
  * set missing constants to hopefully reasonable values
  * only 2 errors showing up (missing functions from original code)