A basic matrix manipulation java code along with JUNIT testing