finish task 1, 2 and 5 of hill cipher experiment