A simple Java program for matrices operations.