Add package.json. Write test for avg()