Implemented continuation monad + add .gitignore.
Started implementing a continuation-based solution (not yet finished).