pegs problem #2