Added some haskell functions and Numerical methods code