R Programming and Its Applications in Financial Mathematics