Implementing Locality Sensitive Hashing from scratch

Screenshot taken from Coursera