functions are mostly correct, and outline is correct. Still some bugs in the code. Iterative loop and boundary conditions need to be done.