Euler 16 plus some changes to the library