fibonacci fast and NIM AI codewars in haskell