Fixed a bug discussedin last commit. I forgot that all face cards had a value of 10, which fixes the bug.