A simple programming exercise for use with pair programming