Did the bowling code kata in c