multiplication of two matrix in java using scanner