Solutions of codility.com tasks