Sparse associative memories and their extension in Julia