Implementation of sources codes from books