finished first programming problem