add matrix multiplication
add prime test