Fixed distDeck Function

Was declaring with 'val' inside a loop and getting syntax errors as a result. Fixed then also wrote logic to keep hands even.