Matrix ADT written in Java.