A Programmers Task