version_1.0: Implemented algorithms up to chapter2.3.2 in Swordoffer