minor mods
created setBoard function to insert fen positions and modified endGame definition