[GROUP10][RIOCUARTO5] TR_LOGIC Correcting the dealer and the end_hand function