implemented mean. median and mode with tests