implemented a tip calculator and tests with should.js