Solution of challenges from Codility or similar.