added polygon class and methods
Merge fixes
Added draw polygon demo