Some modifications of dynamic programming scheduler

  1. The constructor takes 5 arguments, the one extra is the number voltage level.
  2. We will test the power input to the supercapacitor and make sure it is positive.
     Currently, if the load application consumes too much power, I assume the input
     to the supercapacitor is 0.001. This is just for the convenience of scheduling.
	 If it is negative, the nnet predictor will produce some werid resutls. And if it
	 just refuse to schedule, the dynamic programming might not find feasible solutions.
     And this will be changed in the future.
  3. In the testbench (the main function), we added a helper function to read the input
     from TasksOrig.txt, which contains the power and task length when the task is
     running @ 1 volt.
Merge branch 'master' of /home/yzhang/EnergySys/simu/constant_power_charging_test