My solutions to Codility problems from www.codility.com/train