Added Score functionality

Added score functionality and corrected spelling mistake