multiply matrices using MapReduce