Create Simple Mode

calculates mode