Matrix program written in java as part of assignment 3 for SE 2S03 class