Numerical Computation assignment 1.