Added some demos (example001-003), graphs for 003 and fixed some bugs