A simple matrix multiplier using multithreading