moving matrix class into arduino folder for testing