My humble attemps to solve the exercises of the Andrew Koenig