Add makeChange in Haskell, JavaScript, C