add support for inserting terms as an array
Merge pull request #3 from timcowlishaw/feature-allow-instantiation-with-array

add support for inserting terms as an array