added flipCards and compare method to the War constructor in war.js. Added test appropriate to those two functions in warSpec.js