Implementation of some codes from the books i read