Basit's submission of Frequency Function | CodeChef