Added new solution prefix suffix

Solved new Codility  task. Feel free to change my solution.