#s 54-56, #9 rewritten in JS, partial 57

solved problems 54-57, and rewrote solution 9 in JS.

Problem 54 was essentially solved last year: all the pieces were present
in the code I wrote last year, I just had to make them work together.
the next two were easy.

Also here are the modified poker.txt files I used to test.