Fixed calculation error in getScore() function of BrickList class.