programs for my cs249 class