Change `Result` class model

Pass all tests

Fix all samples
Implement first bits of continuation passing style