Winner function

Added the winner function as winner()