Pyramid Solitaire

In this game it is extremely fun to build a pyramid-shaped solitaire.
Your task is to remove all the cards in the pyramid.
Kings are removed by themselves, the rest of the cards are removed only when they match each other and total the number 13.
When you do not have a play, you can reveal the next card and determine if it can be removed or picked up.