Playing around with a few problems from Codility