Perhaps one of the many other threads on the same subject will help you.
https://smilebasicsource.com/forum?fpid=10102#post_10102 is one with a full solution.
As you have not provided any code or specific problem, there is no reason that your question is of particular need for answer.
Collision example key
Root / Programming Questions / [.]
ChaseCZCreated: