ahhh this algorithm would be so much easier in Haskell but I'm working in javascript and I just want monads why is life so hard :( :( :(
ahhh this algorithm would be so much easier in Haskell but I'm working in javascript and I just want monads why is life so hard :( :( :(