implemented identity matrix task