create calculator factory
Merge pull request #17 from ArtCraftCode/factory

create calculator factory