Implementation of Sparse Distributed Memory created by Pentti Kanerva, 1988.