simple command line interface, only square matrices, but it works