Added score and refactored clearLines