Implementing Finites Differences numerical method