Added more function to Element class

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>
Merge pull request #41 from kood1/master

Added more function to Element class