Task: pick up a pencil to turn on the lamp while carrying a pencil

Objects in the environment:
  id   object_type     position_x     position_y     position_z     rotation_x     rotation_y     rotation_z     parent_receptacle
----  --------------  -------------  -------------  -------------  -------------  -------------  -------------  --------------------
   0  Agent           -0.75          0.900          1.25           0              270            0
   1  CD              1.278          1.138          1.558          0              270            0              40
   2  CD              1.220          0.728          1.892          0              0              0              43
   3  CellPhone       -0.266         0.101          -1.640         0              0              0              46
   4  CellPhone       -0.095         0.693          -1.705         0              0              0              45
   5  Pen             1.152          0.734          1.727          0              0              0              43
   6  Pen             1.098          0.081          1.808          0              0              0              41
   7  Pencil          1.102          0.080          0.588          0              0              0              33
   8  Pencil          1.152          0.732          0.901          0              0              0              43
   9  CreditCard      1.310          1.138          0.933          0              270            0              40
  10  Book            0.955          0.780          -0.166         0              0              0              32
  11  AlarmClock      1.278          1.139          1.089          0              270            0              40
  12  Book            1.080          0.780          -0.714         0              0              0              32
  13  Box             -1.233         0.263          -1.435         0              312.675        0
  14  CellPhone       1.330          0.782          -1.537         0              0              0              32
  15  BaseballBat     -1.717         0.708          -0.677         0              0              12.045
  16  Bowl            1.353          0.721          0.891          0              0              0              43
  17  BasketBall      -1.64          0.127          -1.652         0              0              0
  18  Laptop          1.223          0.721          1.342          0              255.000        0              43
  19  CreditCard      -0.447         0.690          -1.838         0              0              0              45
  20  KeyChain        -0.330         0.694          -1.794         0              180            0              45
  21  AlarmClock      1.342          1.139          1.402          0              270            0              40
  22  Pencil          -0.007         0.101          -1.640         0              0              0              46
  23  Pillow          0.872          0.816          -1.513         0              0              0              32
  24  CD              1.135          0.075          1.595          0              0              0              41
  25  Pen             1.341          1.144          1.558          0              270            0              40
  26  Mug             1.405          1.136          1.089          0              0              0              40
  27  Poster          0.978          1.970          -1.868         90             0              0
  28  Mirror          -0.884         1.350          2.086          0              0              0
  29  Poster          1.483          1.978          -1.210         90             270            0
  30  Poster          1.483          1.503          -0.128         90             270            0
  31  Poster          1.483          2.138          -0.128         90             270            0
  32  Bed             0.955          0.002          -0.722         0              0              0
  33  GarbageCan      1.133          0.032          0.581          0              0              0
  34  DeskLamp        -0.396         0.664          -1.666         0              315            0
  35  LightSwitch     0.554          1.154          2.079          0              180            0
  36  Window          -0.174         1.006          -2.009         90             0              0
  37  LaundryHamper   -1.425         0.006          1.676          0              149.999        0
  38  Chair           1.127          -8.434         1.053          0              90             0
  39  Blinds          -0.145         1.679          -1.986         0              0              0
  40  Shelf           1.316          1.174          1.388          0              270            0
  41  Drawer          1.099          0.167          1.724          0              270            0
  42  Drawer          1.099          0.622          1.724          0              270            0
  43  Desk            1.189          0.002          1.384          0              270            0
  44  Drawer          1.099          0.408          1.724          0              270            0
  45  SideTable       -0.103         -0.000         -1.691         0              0              0
  46  Drawer          -0.104         0.157          -1.618         0              0              0
  47  Drawer          -0.104         0.456          -1.618         0              0              0
  48  NorthWall
  49  EastWall
  50  SouthWall
  51  WestWall

Plan:
STEP 1: look down, turn right, and walk to the desk | STEP 2: pick up the pencil that is on the CD | STEP 3: look down, turn right, and walk to the bedside table | STEP 4: turn on the lamp on the bedside table while carrying pencil | END