adds count min sketch algorithm