debug logger added.
Sample program added as main.
Improving help of Element class.