Implements median()
Update readme and package.json