Log analysis and poker hand ranks

Two assignments badly coded