Solution for Codility tasks. Goal is to achive 100% in every task.