created analyzeThrowAway function and moved helper functions to pokerlib.c file