Parallel implementation of MIC algorithm using scala