Calculates bowling score. Unit tests included.