pegs problem #1