added calc function to calculate basic values, add a couple of unit tests using mocha and chai
adding .travis.yml file