Modified App.js

modified the functionalities updateLastNode and prettyPrint in App.js  to support types like index scan,unique index lookup,index range scan.