A simple skeleton for implementing a bowling scoring algorithm. One of my favorite pairing-interview questions.