Changed print_player to return string instead of printing it