My solutions to codility train problems