CSE Programming challenge 1