Finite Difference method solver for scalar wave equation