add helper functions to calculate player and dealer hand total