Ruby script to calculate science points in the board game, 7 Wonders