COMMIT UNTIL COMPILATION ERRORS FIXED AND BEFORE ADDING HADAMARD CODE